package com.gree.changying;

/**
 * 常量配置
 */
public class Const {
    //启用调试日志
    public static final boolean DEBUG = true;
    //是否是开发模式，true 会在登录页显示环境切换
    public static final boolean DEVELOPMENT = true;
    //环境 0 开发环境 1 测试环境 2 正式环境
    public static int EVENT = 2;
    //是否开启通话记录
    public static final boolean CALL_LOG = true;
    //内机条码
    public static final int type_innercode = 0 ;
    //外机条码
    public static final int type_outcode = 1;
    //商用(特殊安装信息) 必填1-4
    public static final int type_info1 = 2;
    //商用(特殊安装信息) 可选5-8
    public static final int type_info2 =3;
    //内机其他
    public static final int type_otherinner = 4 ;
    //外机其他
    public static final int type_otherout = 5 ;
    //内机上墙图
    public static final int type_inner_onwall = 7;
    //签名
    public static final int type_sign = 8 ;
    //旧内机条码
    public static final int type_innercode_old= 10;
    //旧外机条码
    public static final int type_outcode_old= 11;



    //是否需要重启
    public static final String SHOULD_RELOAD = "SHOULD_RELOAD";
    //获取补丁次数
    public static final String GET_PATCH_COUNT = "GET_PATCH_COUNT";
    //是否开启提交数据的时间统计
    public static final boolean COLLECT_SUBMIT_TIME = false;
    //提交采集数据是否检查图片
    public static final boolean  CHECK_IMAGE = true;
    public static final String EVENT_VAL = "EVENT_VAL";

    //需要更新当前订单中的位置距离
    public static final String SHOULD_UPDATE_DISTANCE = "SHOULD_UPDATE_DISTANCE";
    //用户token
    public static final String TOKEN = "TOKEN";
    //需要刷新token
    public static final String SHOULD_REFRESH_TOKEN = "SHOULD_REFRESH_TOKEN";
    //token过期时间
    public static final String TOKEN_EXPIRES = "TOKEN_EXPIRES";
    public static final String TOKEN_EXPIRES_TIME = "TOKEN_EXPIRES_TIME";
    //刷新token的过期时间
    public static final String REFRESH_TOKEN_EXPIRES = "REFRESH_TOKEN_EXPIRES";
    public static final String REFRESH_TOKEN_EXPIRES_TIME = "REFRESH_TOKEN_EXPIRES_TIME";
    //刷新token
    public static final String REFRESH_TOKEN = "REFRESH_TOKEN";
    //用于广播接收token
    public static final String RECEIVE_TOKEN = "receive_token";
    //是否有待提交的任务未完成
    public static final String HAS_SUBMIT_TASK = "has_submit_task";
    public static final String HAS_SUBMIT_TASK_ID = "has_submit_task_id";
    public static final String HAS_SUBMIT_TASK_MSG = "has_submit_task_msg";
    public static final String HAS_SUBMIT_TASK_TIME = "has_submit_task_time";


    public static final String NEW_VERSION = "NEW_VERSION";

    //记录今天的日期
    public static final String TODAY_DATE = "today_date";

    //用户显示ID
    public static final String USERID = "USERID";
    public static final String USERPSD = "USERPSD";
    //用户隐式ID
    public static final String UID = "UID";

    public static final String USERNAME = "USERNAME";
    public static final String HASCHANGE = "HASCHANGE";
    public static final String HASLOGIN = "HASLOGIN";
    public static final String SP_NAME = "GREESHYUN";

    public static final String APP_LASTED_VERSION = "APP_LASTED_VERSION";

    //获取数据加密密钥的key
    public static final String DESKEY = "com.gree.changying.DESkey";

    //当前字体大小
    public static final String CURRENT_FONT_SIZE = "current_font_size";

    public static final String TRUE = "TRUE";
    public static final String FALSE = "FALSE";

    //是否开启自动下载更新
    public static final String AUTO_DOWNLOAD = "auto_download";
    public static final String AUTO_WODNLOADED = "auto_downloaded";

    //记录用户是否点击取消更新按钮
    public static final String CANCEL_UPDATE_TIPS = "cancel_update_tips";

    public static final String FORCE_UPDATE_LATED_TIME = "FORCE_UPDATE_LATED_TIME";

    public static final String NRTS = "NRTS";//内容推送开关
}
